export default {
  nested: {
    client: {
      nested: {
        STConnectionPingReq: {
          fields: {
            name: {
              type: 'string',
              id: 1
            }
          }
        },
        STConnectionPingRsp: {
          fields: {
            traceId: {
              type: 'string',
              id: 1
            },
            message: {
              type: 'string',
              id: 2
            }
          }
        },
        STPushMsgReq: {
          fields: {
            appId: {
              type: 'uint32',
              id: 1
            },
            userId: {
              type: 'int64',
              id: 2
            },
            notifyMsgId: {
              type: 'uint32',
              id: 3
            },
            notifyMsgBody: {
              type: 'bytes',
              id: 4
            }
          }
        },
        STPushMsgRsp: {
          fields: {}
        },
        STCloseSessionReq: {
          fields: {
            appId: {
              type: 'uint32',
              id: 1
            },
            userId: {
              type: 'int64',
              id: 2
            }
          }
        },
        STCloseSessionRsp: {
          fields: {}
        },
        CPacketReq: {
          fields: {
            reqMsgId: {
              type: 'uint32',
              id: 1
            },
            reqMsgBody: {
              type: 'bytes',
              id: 2
            },
            token: {
              type: 'string',
              id: 3
            },
            clientType: {
              type: 'uint32',
              id: 4
            },
            userId: {
              type: 'int64',
              id: 5
            }
          }
        },
        CPacketRsp: {
          fields: {
            code: {
              type: 'uint32',
              id: 1
            },
            rspMsgId: {
              type: 'uint32',
              id: 2
            },
            rspMsgBody: {
              type: 'bytes',
              id: 3
            },
            errMsg: {
              type: 'string',
              id: 4
            },
            traceId: {
              type: 'string',
              id: 5
            }
          }
        },
        CPacketIdentifyLongLinkReq: {
          fields: {
            userId: {
              type: 'int64',
              id: 1
            }
          }
        },
        CPacketIdentifyLongLinkRsp: {
          fields: {
            code: {
              type: 'uint32',
              id: 1
            },
            errMsg: {
              type: 'string',
              id: 2
            }
          }
        },
        CPacketNotify: {
          fields: {
            notifyMsgId: {
              type: 'uint32',
              id: 1
            },
            notifyMsgBody: {
              type: 'bytes',
              id: 2
            }
          }
        },
        IdentifyMessage: {
          fields: {
            userId: {
              type: 'int64',
              id: 1
            }
          }
        },
        EnumAPP: {
          values: {
            Pharmacy: 0,
            AIKid: 1
          }
        },
        ErrCode: {
          values: {
            ErrOk: 0,
            ErrUnknown: 101,
            ErrArgsInvalid: 102,
            ErrArgsEmpty: 103,
            ErrSystem: 104,
            ErrDB: 105,
            ErrNoServe: 106,
            ErrTokenExpire: 107,
            ErrUserNotExist: 108,
            ErrNotIdentify: 109,
            ErrBadIdentify: 110,
            ErrMobilePhoneNotExist: 111,
            ErrMobileInvalidFormate: 112,
            ErrPasswdNotExist: 113,
            ErrPasswdNotMatch: 114,
            ErrVerifyCodeOverTime: 115,
            ErrVerifyCodeNotMatch: 116,
            ErrVerifyCodeSendFailed: 117,
            ErrVerifyCodeNeedWait: 118,
            ErrEmailAddressFormate: 119,
            ErrUserExistedRegister: 120,
            ErrMPLoginDataInvalid: 10001,
            ErrMPAutoCodeInvalid: 10002,
            ErrUserNotDrawCourse: 100001
          }
        }
      }
    }
  }
};
